﻿#include "cMock.h"

CMock::CMock()
{

}


bool CMock::setExpInfo(int type, QString expName, QString consumableName){

    __LOG_FSTART(type + QString(" ") + expName + " " +consumableName);

    return  true;
}


QStringList CMock::getMainMethodList(){
    return QStringList({"主流程1", "主流程2", "主流程3"});
}


QString CMock::getConsumableByMainMethod(QString mainMethod){
    return mainMethod + "的耗材";
}


QStringList CMock::getSingleMethodByMainMethod(QString name){
    return QStringList({name+"子流程1", name+"子流程2", name+"子流程3", name+"子流程4"});
}

QStringList CMock::getSingleMethodList(int i, QString consumable){
    QString name = "";
    if(i == 1){
        name = "放靶";
    }else if(i == 2){
        name = "打靶";
    }else if(i == 3){
        name = "转靶";
    }else if(i == 4){
        name = "纯化";
    }
    return QStringList({name+"1", name+"2", name+"3", name+"4"});
}

void CMock::setExpBaseInfo(QVariantMap infoMap){

    return;

}

QStringList CMock::getConsumableList(){
    return QStringList({"耗材1","耗材1","耗材1","耗材1"});
}

int CMock::getExperimentStepCount(int module, QString expName, QString consumable){
    return 100;
}

int CMock::getExperimentTotalTime(int module, QString expName, QString consumable){
    return 100;
}
